home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 8422 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  5.0 KB

  1. Path: ix.netcom.com!netnews
  2. From: Manuel Hernandez <ManuelHe@ix.netcom.com>
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: REVIEW: Visual C++ in 12 Easy Lessons
  5. Date: 18 Feb 1996 01:18:20 GMT
  6. Organization: Netcom
  7. Message-ID: <4g5uos$1f9@ixnews3.ix.netcom.com>
  8. NNTP-Posting-Host: irv-ca12-26.ix.netcom.com
  9. X-NETCOM-Date: Sat Feb 17  5:18:20 PM PST 1996
  10.  
  11. softbase@mercury.interpath.net (Scott McMahan - Softbase Systems) writes:
  12. > Here is a brief review of Visual C++ in 12 Easy Lessons, by
  13. > Perry and Spencer, published by Sams.
  14. > I bought a copy of VC++ in 12 Easy Lessons for one reason: As a lifelong
  15. > Borland C++ programmer, I had never used Microsoft's Visual C++ and
  16. > wanted to pad out my resume by claiming familiarity with it. Even I
  17. > can't bluff enough to claim I can use a development system I've never
  18. > even seen before! So I wanted a cheap copy of VC++ to experiment with.
  19. > Also, I had run across a lot of code that was in VC++ format which I
  20. > couldn't compile easily in BC++, so I wanted a copy of the compiler. The
  21. > package I got was a cheap and easy way to get a copy of the compiler.
  22. > The package I got was a "VC++ Starter Kit", which proclaimed to be the
  23. > full 1.0 version of VC++. This is like DOS World magazine's BASIC
  24. > compiler -- it professes to be the compiler bundled with a book, but
  25. > turns out when you get it to be a book with the compiler thrown in. So I
  26. > wound up with a book, and after reading it, thought I'd review it. My
  27. > review will hopefully help others who are trying to decide if they
  28. > want to get this or recommend it to others.
  29. > In general, the advice to avoid any book that mentions doing anything in
  30. > a unit (days, lessons, etc) is sound. I've never been surprised by one
  31. > of these books that was any good, although I've never gone out of my way
  32. > to read them. It certainly is true in this case.
  33. > Here are some items of note about the book:
  34. > 1. "void main()" -- it's an epidemic. People just have to use the void,
  35. > even though 1) it is incorrect, and 2) it is easier on beginners NOT to
  36. > use it since it is an incorrect, confusing point that doesn't even
  37. > have to be raised since "main()" is valid and simpler. For giggles
  38. > and grins, I went into the VC++ help, and it did not mention void:
  39. >  
  40. >     Syntax     main( int argc, char *argv[ ], char *envp[ ] )
  41. >         {
  42. >             program-statements
  43. >         }
  44. > At least Microsoft got it right.
  45. > 2. Lesson 2 is apparently there to convince people that C++ is a 
  46. > cryptic language. Statements like "the purpose of these two lines
  47. > of code is hidden in the cryptic Visual C++ language" hammer in
  48. > the point that C++ is cryptic. So when do the easy lessons start?
  49. > They seem to have lost sight of the professed goal of the book!
  50. > 3. I found code that is nonsensical and error-filled.  Here is a
  51. > sample from p. 47:
  52. >     for (int ctr=0; ctr > 0; ctr)    // prints the numbers
  53. >     {                // from 10 to 1
  54. >         cout << ctr << endl;    // on-screen
  55. >     }
  56. > Apparently, this code is supposed to do something, but the loop control
  57. > variable ctr is never modified. This is supposed to help beginners
  58. > learn? They seem to need a "--" someplace in the loop.  This is not a
  59. > typographical error, since the same code is repeated on page 48!
  60. > Code like this is the scourge of books which claim to teach you
  61. > something. If a beginner tries to learn from code like this, the
  62. > beginner will have a hard time, since the code is wrong but the beginner
  63. > doesn't KNOW that the code is wrong.
  64. > With regard to #3, it is interesting that M&T books are the WORST
  65. > offenders -- I have gotten several of their books on sale tables, and
  66. > each has looked like a rough draft was mistakenly sent to the printers.
  67. > Elementary grammar errors, code that won't compile, and other problems
  68. > can be found on almost every page. The Tao Of Objects is a bad one. Most
  69. > of the code samples in it are error-filled. Sams is a close second,
  70. > especially their This Book Was Written And Published in 21 Days series.
  71. > They are slopped together and not edited.
  72. > 4. The book is a layout nightmare. Between "Concept" boxes, "Note"
  73. > boxes, "Review" boxes, it gives you a headache to read the text, and
  74. > keeps your eyes busy trying to discern what is text and what isn't.
  75. > Also, all of these things are in different formats and fonts -- notes
  76. > to VC++, not generic C++.
  77. I also got the book.This was a piece of ambiguous packaging.It came in a
  78. cardboard box like it was an application. I was happy with the cheap compiler,
  79. so I did not take it back. The first 16 chapters are mildly palatable. After 
  80. that the book is a minefield of frustrating prose and code. Of course, chapters
  81. 1-16 are your standard procedural and modular programming lessons.Once he gets to
  82. structs, and classes his examples are either silly or badly written. Even as a 
  83. beginner I recognize this.
  84.  
  85.     I went out and bought a copy of Stroustrup's " The C++ Programming Language"
  86. I'm happy now, but it seems weird that in the computer industry so much attention 
  87. and respect gets heaped on so few people while millions toil. However I digress.   
  88.